import { PropertyOperator } from '~/types'
import { PropertyFilterType, SavedSessionRecordingPlaylistsResult } from '~/types'

export const recordingPlaylists: SavedSessionRecordingPlaylistsResult = {
    count: 5,
    next: null,
    previous: null,
    results: [
        {
            id: 3,
            short_id: 'RWbNI7Mx',
            name: 'nightly',
            derived_name: '(Untitled)',
            description: '',
            type: 'collection',
            pinned: true,
            created_at: '2022-11-17T16:52:29.444128Z',
            created_by: {
                id: 1,
                uuid: '01848677-afb6-0000-31a7-0ea1d72223c0',
                distinct_id: '1abnMLh1NOnisQgUh0Ou5ZKIAT8nt4UNtnRXUDsGq9G',
                first_name: 'Alex',
                email: 'alex@posthog.com',
            },
            deleted: false,
            filters: {
                events: [],
                actions: [],
                date_from: '2022-10-27',
                properties: [],
                session_recording_duration: {
                    key: 'duration',
                    type: PropertyFilterType.Recording,
                    value: 60,
                    operator: PropertyOperator.GreaterThan,
                },
            },
            last_modified_at: '2022-11-18T23:17:23.944256Z',
            last_modified_by: {
                id: 1,
                uuid: '01848677-afb6-0000-31a7-0ea1d72223c0',
                distinct_id: '1abnMLh1NOnisQgUh0Ou5ZKIAT8nt4UNtnRXUDsGq9G',
                first_name: 'Alex',
                email: 'alex@posthog.com',
            },
            recordings_counts: {
                saved_filters: {
                    count: 10,
                    watched_count: 4,
                    has_more: true,
                    increased: true,
                },
                collection: {
                    count: 10,
                    watched_count: 5,
                },
            },
        },
        {
            id: 14,
            short_id: '86WM5Ksx',
            name: 'blah',
            derived_name: '(Untitled)',
            description: '',
            type: 'collection',
            pinned: false,
            created_at: '2022-11-18T18:46:26.494109Z',
            created_by: {
                id: 1,
                uuid: '01848677-afb6-0000-31a7-0ea1d72223c0',
                distinct_id: '1abnMLh1NOnisQgUh0Ou5ZKIAT8nt4UNtnRXUDsGq9G',
                first_name: 'Alex',
                email: 'alex@posthog.com',
            },
            deleted: false,
            filters: {
                events: [],
                actions: [],
                date_from: '2022-10-28',
                properties: [],
                session_recording_duration: {
                    key: 'duration',
                    type: PropertyFilterType.Recording,
                    value: 60,
                    operator: PropertyOperator.GreaterThan,
                },
            },
            last_modified_at: '2022-11-18T23:17:04.416860Z',
            last_modified_by: {
                id: 1,
                uuid: '01848677-afb6-0000-31a7-0ea1d72223c0',
                distinct_id: '1abnMLh1NOnisQgUh0Ou5ZKIAT8nt4UNtnRXUDsGq9G',
                first_name: 'Alex',
                email: 'alex@posthog.com',
            },
            recordings_counts: {
                saved_filters: {
                    count: 3,
                    watched_count: 4,
                },
                collection: {
                    count: 3,
                    watched_count: 4,
                },
            },
        },
        {
            id: 15,
            short_id: 'neSyz9VK',
            name: 'dynamic test',
            derived_name: null,
            type: 'collection',
            description: 'with a description',
            pinned: true,
            created_at: '2022-11-18T23:15:57.823086Z',
            created_by: {
                id: 1,
                uuid: '01848677-afb6-0000-31a7-0ea1d72223c0',
                distinct_id: '1abnMLh1NOnisQgUh0Ou5ZKIAT8nt4UNtnRXUDsGq9G',
                first_name: 'Alex',
                email: 'alex@posthog.com',
            },
            deleted: false,
            filters: {
                events: [],
                actions: [],
                date_from: '2022-10-28',
                properties: [],
                session_recording_duration: {
                    key: 'duration',
                    type: PropertyFilterType.Recording,
                    value: 60,
                    operator: PropertyOperator.GreaterThan,
                },
            },
            last_modified_at: '2022-11-18T23:15:57.822851Z',
            last_modified_by: {
                id: 1,
                uuid: '01848677-afb6-0000-31a7-0ea1d72223c0',
                distinct_id: '1abnMLh1NOnisQgUh0Ou5ZKIAT8nt4UNtnRXUDsGq9G',
                first_name: 'Alex',
                email: 'alex@posthog.com',
            },
        },
        {
            id: 13,
            short_id: 'IwejPyVW',
            name: 'asdfdasfsad',
            derived_name: null,
            type: 'collection',
            description: '',
            pinned: false,
            created_at: '2022-11-18T18:46:20.354174Z',
            created_by: {
                id: 1,
                uuid: '01848677-afb6-0000-31a7-0ea1d72223c0',
                distinct_id: '1abnMLh1NOnisQgUh0Ou5ZKIAT8nt4UNtnRXUDsGq9G',
                first_name: 'Alex',
                email: 'alex@posthog.com',
            },
            deleted: false,
            filters: {
                events: [],
                actions: [],
                date_from: '2022-10-28',
                properties: [],
                session_recording_duration: {
                    key: 'duration',
                    type: PropertyFilterType.Recording,
                    value: 60,
                    operator: PropertyOperator.GreaterThan,
                },
            },
            last_modified_at: '2022-11-18T18:46:20.353927Z',
            last_modified_by: {
                id: 1,
                uuid: '01848677-afb6-0000-31a7-0ea1d72223c0',
                distinct_id: '1abnMLh1NOnisQgUh0Ou5ZKIAT8nt4UNtnRXUDsGq9G',
                first_name: 'Alex',
                email: 'alex@posthog.com',
            },
        },
        {
            id: 1,
            short_id: 'V4Fi2f8k',
            name: '',
            derived_name: '(Untitled)',
            description: '',
            type: 'collection',
            pinned: false,
            created_at: '2022-11-17T16:46:09.854845Z',
            created_by: {
                id: 1,
                uuid: '01848677-afb6-0000-31a7-0ea1d72223c0',
                distinct_id: '1abnMLh1NOnisQgUh0Ou5ZKIAT8nt4UNtnRXUDsGq9G',
                first_name: 'Alex',
                email: 'alex@posthog.com',
            },
            deleted: false,
            filters: {
                events: [
                    {
                        id: '$groupidentify',
                        name: '$groupidentify',
                        type: 'events',
                        order: 0,
                    },
                ],
                actions: [],
                date_from: '2022-10-27',
                properties: [],
                session_recording_duration: {
                    key: 'duration',
                    type: PropertyFilterType.Recording,
                    value: 1,
                    operator: PropertyOperator.GreaterThan,
                },
            },
            last_modified_at: '2022-11-18T17:55:49.552699Z',
            last_modified_by: {
                id: 1,
                uuid: '01848677-afb6-0000-31a7-0ea1d72223c0',
                distinct_id: '1abnMLh1NOnisQgUh0Ou5ZKIAT8nt4UNtnRXUDsGq9G',
                first_name: 'Alex',
                email: 'alex@posthog.com',
            },
        },
    ],
}
